<?php

include "connect.php";

$customer_id = $_COOKIE["customer_id"];

$query = 


"SELECT * 

FROM saddles 


INNER JOIN customer_watchlist 

ON saddles.id = customer_watchlist.product_id 

WHERE customer_watchlist.status = 'watching'

AND customer_id = $customer_id";

$result = mysql_query($query);

while($row = mysql_fetch_array($result))
	
	{
    echo $row['product_name'];
	echo " - ";
	echo $row['product_cost'];
    echo "<br />";
	}


?>